home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8233 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: #include --> Question
  5. Date: 29 Feb 1996 16:28:07 GMT
  6. Organization: Los Alamos National Laboratory
  7. Message-ID: <TANMOY.96Feb29092807@qcd.lanl.gov>
  8. References: <4gvp2c$sdr$1@mhafc.production.compuserve.com>
  9.     <4h1d2l$4n3@pyrrhus-f.hrz.tu-chemnitz.de>
  10.     <4h2si8$1bf@solutions.solon.com> <31359A05.4014@iadfw.net>
  11. NNTP-Posting-Host: qcd.lanl.gov
  12. Mime-Version: 1.0
  13. Content-Type: text
  14. In-reply-to: Larry Weiss's message of Thu, 29 Feb 1996 06:20:21 -0600
  15.  
  16. In article <31359A05.4014@iadfw.net>
  17. Larry Weiss <lfw@iadfw.net> writes:
  18.  
  19. LW: Peter Seebach wrote:
  20. LW: > 
  21. LW: > The character '\' introduces undefined behavior in a header file name.
  22. LW: >
  23. LW: 
  24. LW: Peter, are you sure about this?   Can you cite a clause of the Standard?
  25.  
  26. I am sure. 
  27.  
  28. LW: 
  29. LW: I'm looking at Clause 6.8.2 and 6.1.7.  The only characters that cannot be
  30. LW: used in a #include "name" header name according to those sections are
  31. LW: newline and doublequote.     
  32.  
  33. Look at at 6.1.7, semantics the two sentences making up the second
  34. para :-)
  35.  
  36. LW: 
  37. LW: Of course, all interpretation of the characters used to signify a
  38. LW:  #include "name" are implementation defined.
  39.  
  40. Paraphrase of the sentences referred to:
  41. Use of ', \, /*, (and " in <...>) in header names leads to undefined
  42. behaviour.
  43.  
  44. Cheers
  45. Tanmoy
  46. --
  47. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  48. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  49. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  50. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  51. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  52. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  53.